package com.xuchen.zhenyang.service.impl;

import com.xuchen.zhenyang.entity.OrderBase;
import com.xuchen.zhenyang.mapper.OrderBaseMapper;
import com.xuchen.zhenyang.service.OrderBaseService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xuchen
 * @since 2018-04-18
 */
@Service
public class OrderBaseServiceImpl extends ServiceImpl<OrderBaseMapper, OrderBase> implements OrderBaseService {

    @Override
    public void updateTotalMoney(Integer orderBaseId) {
        this.baseMapper.updateTotalMoney(orderBaseId);
    }

    @Override
    public void updateGoodsCountForDel(Integer orderBaseId) {
        this.baseMapper.updateGoodsCountForDel(orderBaseId);
    }
}
